/**
 * output package name
 */
package com.kingdee.eas.custom.hostelmgr.basedata;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class CategoryEnum extends IntEnum
{
    public static final int GENERAL_VALUE = 1;
    public static final int UNIVERSITY_VALUE = 2;
    public static final int TEMP_VALUE = 3;

    public static final CategoryEnum GENERAL = new CategoryEnum("GENERAL", GENERAL_VALUE);
    public static final CategoryEnum UNIVERSITY = new CategoryEnum("UNIVERSITY", UNIVERSITY_VALUE);
    public static final CategoryEnum TEMP = new CategoryEnum("TEMP", TEMP_VALUE);

    /**
     * construct function
     * @param integer categoryEnum
     */
    private CategoryEnum(String name, int categoryEnum)
    {
        super(name, categoryEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CategoryEnum getEnum(String categoryEnum)
    {
        return (CategoryEnum)getEnum(CategoryEnum.class, categoryEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static CategoryEnum getEnum(int categoryEnum)
    {
        return (CategoryEnum)getEnum(CategoryEnum.class, categoryEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CategoryEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CategoryEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CategoryEnum.class);
    }
}